package com.ssy.lingxi.settle.accounts.model.vo.request;

import com.ssy.lingxi.common.model.vo.PageVO;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.PositiveOrZero;
import java.io.Serializable;

/**
 * 请款单明细查询VO
 * @author Saske
 * @date 2021/12/01
 * @version 2.0.0
 */
public class DetailApplyAmountVO extends PageVO implements Serializable {

    private static final long serialVersionUID = -274063592818685L;

    /**
     * 请款单Id
     */
    @NotNull(message = "请款单Id不能为空")
    @PositiveOrZero(message = "请款单Id要大于0")
    private Long applyAmountId;

    /**
     * 请款单编号
     */
    @NotBlank(message = "请款单编号不能为空")
    private String applyNo;

    public Long getApplyAmountId() {
        return applyAmountId;
    }

    public void setApplyAmountId(Long applyAmountId) {
        this.applyAmountId = applyAmountId;
    }

    public String getApplyNo() {
        return applyNo;
    }

    public void setApplyNo(String applyNo) {
        this.applyNo = applyNo;
    }
}
